<?php
/**
 * XuYuan Project
 *
 * @package	XueYuan 
 * @author	Jiuchi Team
 * @since	Version 1.0.0
 * @filesource
 */
defined('BASEPATH') OR exit('No direct script access allowed');
/**
 * Login view
 * @author Wayne Yu
 */
?>
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">

<head>
    <?php $this->load->view('common/head');?>
	<!-- Page special css-->
    <link rel="stylesheet" type="text/css" href="/assets/css/index.css">
    <link rel="stylesheet" type="text/css" href="/assets/css/mycircle.css">
</head>

<body>
    <div class="navigation">
		<?php $this->load->view('common/navigation');?> 
    </div>
    <div class="wrapper">
        <div class="main-content">
            <div class="main-content-inner">
                <div class="home-list">
                    <div class="home-list-title">
                        <span>关注人的动态</span>
                    </div>
                    <div class="home-list-content clearfix">
                        <div id="ep-tips" class="ep-tips">
                            <span>你暂时没有关注任何人。</span>
                        </div>
                        <ul id="dynamicMore">
                            <li class="dynamic-item">
                                <div class="rep">
                                    <div class="rep-header clearfix">
                                        <div class="rep-avatar headportrait"></div>
                                        <div class="rep-note">
                                            <span class="rep-auth-src name"></span>&nbsp<span class="rep-catalog text-small type"></span>
                                            <div class="rep-title ellipsis title"></div>
                                        </div>                                     
                                    </div>
                                    <div class="rep-content-wrapper clearfix">
                                        <div class="rep-content content clearfix"></div>
                                        <div class="rep-footer text-small clearfix">
                                            <div class="rep-cir-src from"></div>
                                            <div class="rep-time date"></div>
                                        </div>
                                    </div>
                                </div>
                            </li>
                            <a id="btn-more-dynamic" class="btn-white btn-more">查看更多</a>
                        </ul>
                    </div>
                    </div>
                </div>
            </div>
        </div>
        <div id="createTopic" class="submit-content" style="display: none;">
            <div class="submit-form">
                <form action="#" class="form-form">
                    <div class="content-circle-select clear">
                        <div class="topic-create-title">
                            <span class="right-decoration-text">
                            发表新贴:
                        </span>
                        </div>
                        <input type="text" style="width: 230px;">
                    </div>
                    <div class="content-topic-create clear">
                        <div class="topic-create-title">
                            <span>发表话题：</span>
                        </div>
                        <div class="topic-create-edit">
                            <div class="topic-edit-wrap">
                                <div class="edit-wrap-outer">
                                    <textarea name="" id="" cols="30" rows="8" style="width: 230px;"></textarea>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="submit-finish-part">
                        <button class="right-btn-decoration btn-blue" style="padding: 2px 5px;">提交</button>
                    </div>
                </form>
            </div>
        </div>
        <div class="footer">
            <?php $this->load->view('common/footer');?>
        </div>
    <!-- Page special scripts -->
    <script type="text/javascript" src="/assets/js/jquery.more.js"></script>
    <script>
    $(document).ready(function() {
        $('#dynamicMore').more({
            'address': '<?php echo site_url('home/getDynamic')?>',
            'template': '.dynamic-item',
            'trigger': '#btn-more-dynamic',
            'defaultshow' :'#ep-tips'
        });
        $('#btn-createTopic').fancybox({

        });
    });

    </script>
</body>
</html>

    